package cn.edu.scau.cmi.huxiantao.client;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class AbstractFactoryClient extends Application{
	@Override
	public void start(Stage stage) throws Exception {
		Parent root=FXMLLoader.load(this.getClass().getResource(
				"/cn/edu/scau/cmi/huxiantao/abstractFactory/FXMLDocument.fxml"));
		Scene scene=new Scene(root);
		stage.setScene(scene);
		stage.setTitle("实验三 抽象工厂方法");
		stage.show();
	}
	public static void main(String[] args) {
		launch(args);
	}
}